package com.xxgc.zde.api;

import com.dtflys.forest.annotation.Get;
import com.dtflys.forest.annotation.Query;
import com.xxgc.zde.api.response.WechatLoginResponse;

/**
 * @Author:LYS
 * @Date: 2025/4/1 10:38
 * @Description:
 */
public interface WechatLoginApi {

    @Get("https://api.weixin.qq.com/sns/jscode2session")
    WechatLoginResponse wechatLogin(@Query("appid") String appid,
                                    @Query("secret") String secret,
                                    @Query("js_code") String js_code,
                                    @Query("grant_type") String grant_type);


}
